#include "etymon.h"
#include "ui_etymon.h"

etymon::etymon(QWidget *parent) :
    QWidget(parent),
    m_ui(new Ui::etymon)
{
    m_ui->setupUi(this);
}

etymon::~etymon()
{
    delete m_ui;
}

void etymon::changeEvent(QEvent *e)
{
    QWidget::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        m_ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
void etymon::setEtymon(const QString &etymon){
    m_ui->Etymon->setText(etymon);
}
